<table>
    <tbody>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.id" default="Id" />:</td>
            <td valign="top" class="value">${fieldValue(bean: workflowStepInstance, field: "id")}</td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.workflow" default="Workflow" />:</td>
            <td valign="top" class="value"><g:link controller="workflow" action="show" id="${workflowStepInstance?.workflow?.id}">${workflowStepInstance?.workflow?.encodeAsHTML()}</g:link></td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.serialNumber" default="Serial Number" />:</td>
            <td valign="top" class="value">${fieldValue(bean: workflowStepInstance, field: "serialNumber")}</td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.name" default="Name" />:</td>
            <td valign="top" class="value">${fieldValue(bean: workflowStepInstance, field: "name")}</td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.assignee" default="Assignee" />:</td>
            <td valign="top" class="value"><g:link controller="group" action="show" id="${workflowStepInstance?.assignee?.id}">${workflowStepInstance?.assignee?.encodeAsHTML()}</g:link></td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.lockRecord" default="Lock Record" />:</td>
            <td valign="top" class="value"><g:formatBoolean boolean="${workflowStepInstance?.lockRecord}" /></td>
        </tr>
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.isBegin" default="Is Begin" />:</td>
            <td valign="top" class="value"><g:formatBoolean boolean="${workflowStepInstance?.isBegin}" /></td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.isEnd" default="Is End" />:</td>
            <td valign="top" class="value"><g:formatBoolean boolean="${workflowStepInstance?.isEnd}" /></td>
        </tr>
        
        <tr class="prop">
            <td valign="top" class="name"><g:message code="workflowStep.actions" default="Actions" />:</td>
            <td  valign="top" style="text-align: left;" class="value">
                <ul>
                <g:each in="${workflowStepInstance?.actions}" var="workflowActionInstance">
                    <li><g:link controller="workflowAction" action="show" id="${workflowActionInstance.id}">${workflowActionInstance.encodeAsHTML()}</g:link></li>
                </g:each>
                </ul>
            </td>
        </tr>
    </tbody>
</table>